﻿using System.Windows;
using System.Windows.Controls;

namespace ShitLibrary
{
  public partial class MainWindow : Window
  {
    public MainWindow()
    {
      InitializeComponent();
    }

    private void TextBlock_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
    {
      MessageBox.Show("Combox Show");
    }

    private void TreeView_SelectedItemChanged(object sender, RoutedPropertyChangedEventArgs<object> e)
    {
      //TreeViewItem i = (TreeViewItem)(sender as TreeView).SelectedItem;
      //MessageBox.Show(i.Parent.ToString() + i.Tag);
    }

    private void Txt_TextChanged(object sender, TextChangedEventArgs e)
    {
      MessageBox.Show((sender as TextBox).Text);
    }
  }

}
